/*
 * @Author: your name
 * @Date: 2021-08-25 16:39:40
 * @LastEditTime: 2021-08-26 13:36:55
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \mobile-h5\src\components\fd\utils.ts
 */

import { sessionStorageKey } from './config';

export const clearSession = () => {
  sessionStorage.removeItem(sessionStorageKey['lov_data']);
  sessionStorage.removeItem(sessionStorageKey['showFieldName']);
  sessionStorage.removeItem(sessionStorageKey['filedShowName']);
  sessionStorage.removeItem(sessionStorageKey['lov_name']);
  sessionStorage.removeItem(sessionStorageKey['lov_cachedata']);
  sessionStorage.removeItem(sessionStorageKey['scrollTop']);
};
